package cn.wubo.vrr.help.service.impl;

import cn.wubo.vrr.help.entity.AttendanceResult;
import cn.wubo.vrr.help.repository.AttendanceResultRepository;
import cn.wubo.vrr.help.service.AttendanceResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AttendanceResultServiceImpl implements AttendanceResultService {
    @Autowired
    AttendanceResultRepository attendanceResultRepository;

    @Override
    public AttendanceResult save(AttendanceResult ar) {
        return attendanceResultRepository.save(ar);
    }

    @Override
    public List<AttendanceResult> findAll() {
        return attendanceResultRepository.findAll();
    }
}
